package com.aeric.CWUtility;

import android.content.Context;
import android.widget.Toast;


public class ToastUtil {


    public static void toastLongTip(Context context, String info) {
        Toast.makeText(context, info, Toast.LENGTH_LONG).show();
    }


    public static void toastShortTip(Context context, String info) {
        Toast.makeText(context, info, Toast.LENGTH_SHORT).show();
    }


    public static void toastLongTip(Context context, int info) {
        Toast.makeText(context, info, Toast.LENGTH_LONG).show();
    }


    public static void toastShortTip(Context context, int info) {
        Toast.makeText(context, info, Toast.LENGTH_SHORT).show();
    }
}
